home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
New Star Software Collection
/
NSS_Collection.iso
/
5-029 turbo debugger and assem
/
disks.7z
/
3
/
CHAPXMPL.ARC
/
PLUSONE.C
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-08-29
|
282 b
|
13 lines
#include <stdio.h>
int main(void)
{
int TestValue;
scanf("%d",&TestValue); /* get the value to increment*/
asm inc WORD PTR TestValue; /* increment it (inassembler) */
printf("%d",TestValue); /* print the incremented value */
}